package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工管理对象 order_stafforder
 * 
 * @author ruoyi
 * @date 2024-10-23
 */
public class OrderStafforder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    @Excel(name = "员工id")
    private Long userId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String userName;

    /** 员工所在部门 */
    @Excel(name = "员工所在部门")
    private String userPartment;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPartment(String userPartment) 
    {
        this.userPartment = userPartment;
    }

    public String getUserPartment() 
    {
        return userPartment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPartment", getUserPartment())
            .toString();
    }
}
